home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-03-16 | 972 b | 26 lines | [TEXT/GEOL] |
- Item 4137442 14-March-90 08:52PST
-
- From: D6020 Info Research, John MacVeigh,PRT
-
- To: D0416 Futuresoft System Design,PRT
-
- cc: MACAPP.TECH$ MacApp Technical
-
- Sub: RE RE TTEView back color
-
- Ken,
-
- Thanks for the answer. Are your text labels fully editable TTEViews? I naively
- tried overriding TMyTEView.Draw to: save the background color, change it, call
- INHERITED Draw, then restore the saved color. This works until you try to edit.
- The problem is that to support editing, TTEView calls the Toolbox TE routines
- here, there, and everywhere. When any of those routines do any drawing, they do
- it with the port's current background, which is usually white. I suppose I
- could do a similar override for _all_ methods that result in drawing, but the
- coloring is not a requirement, just an added nicety. Maybe later.
-
- Blandly, I remain
- John MacVeigh
- IRC
-
-